<!doctype html>
<html>
<head>
    <?php echo(isset($get_header) ? $get_header : ''); ?>
	<base href="<?php echo base_url(); ?>"/>
</head>
<body>
<div id="header">
    <?php echo(isset($get_top_header) ? $get_top_header : ''); ?>
</div>

<div id="contents">
    <div class="container">
        <!--Ads-->
        <?php echo $this->language->get_ad(1); ?>

        <?php if (isset($breadcrumbs)) { ?>
            <ol class="breadcrumb hidden-xs">
                <li><i class="fa fa-home"></i> <a href="<?php echo base_url(); ?>">首页</a></li>
                <?php foreach ($breadcrumbs as $k => $bread) { ?>
                    <?php if ($bread == 'active') { ?>
                        <li class="active"><?php echo $k; ?></li>
                    <?php } else { ?>
                        <li><a href="<?php echo $bread; ?>"><?php echo $k; ?></a></li>
                    <?php } ?>
                <?php } ?>
            </ol>
        <?php } ?>

        
            
                    <?php echo ws_load_content('contents/session_notification', array(), false); ?>
                    <?php if (!empty($contents)) { ?>
                        <?php foreach ($contents as $content) { ?>
                            <?php echo $content; ?>
                        <?php } ?>
                    <?php } ?>
               
        
    </div>
</div>

<div id="footer">
    <?php echo(isset($get_footer) ? $get_footer : ''); ?>
</div>
</body>
</html>